<style>
	label input {
    display: none; }
    label span {
    display: block;
    width: 24px !important;
   
    height: 24px !important;
    border: 1px solid #CCCCCC;
    position: relative; }
    label span i {
    	 margin: 3px 2px 0px 0;
      display: none;
      color: #CCCCCC;
      position: absolute;
      font-size: 30px !important;
      top: -15px;
      left: 0; }
    .right .redParent {
    	position: relative;
    }
    .right .red {
    	color: red;
    	position: absolute;
    	right: 24%;
    	top: 0;
    }
    
   
	
</style>
<div id="content-header">
    <div id="breadcrumb"> <a  title="Go to Home" class="tip-bottom"><i class="icon-home"></i>费用管理</a> 
    	<a ui-sref="home.reimburse" class="current">费用管理</a> </div>
</div>
<div class="container-fluid">
    <div class="row-fluid">
      <div class="span12" >
		<div class="widget-box">
            <div class="widget-content nopadding"  >
				<form  class="addupdate" name="addupdate"  novalidate="novalidate">
                 	<div class="left">
                    	<p >
                    		<span class="text">经办人 </span>
                    		<select-url item-array="dictionarystaff"  selected="add.staffId" value="staffId"></select-url>
                    	</p>
                    	<p > 
                    		<span class="text">科目 </span>
                    		<select-url item-array="subjectDic"  selected="add.rrSubject" value="rrSubject"></select-url>
                    	</p>
                    	<p > 
                    		<span class="text">付款类型 </span>
                    		<select-url item-array="paymentDic"  selected="add.rrType" value="rrType"></select-url>
                    	</p>
                    	<p class="p"> 
                    		<span class="text">金额 </span>
                    		<input type="number" autocomplete="off" name="rrAcount"  ng-model="add.rrAcount" ng-pattern="/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/" required/>
                    		<span class="warn"  ng-if="addupdate.rrAcount.$error.required">*</span>
                    		<span class="warn"  ng-if="addupdate.rrAcount.$error.pattern">金额格式错误</span>
                    	</p>
                    	<p class="p"> 
                    		<span class="text"  >付款时间 </span>
                    			<datetimepicker  ng-model="pickertime"  class="datetimepicker" ></datetimepicker>
                    	</p>
                    	<p class="p"> 
                    		<span class="text">摘要 </span>
                    		<textarea type="text"  name="rrSummary" ng-model="add.rrSummary" />
                    	</p>
                    	<p class="submitButton p">
                    		<button  ng-class="{true:'btn-primary'}[addupdate.$invalid]" 
											      	 	ng-disabled="addupdate.$invalid" type="submit" 
											      	 	class="btn  greenbtn"  ng-click="sub()" >提交</button>
                    		<button class="btn" ng-click="rement()">取消</button>
                    	</p>
                    </div>
                   
                </form>
              
            </div>
        </div>
    </div>
</div>
